package com.bwie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbUser;
import com.bwie.utils.R;
import com.bwie.vo.AdminLoginVo;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.UserPageVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author 28242
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2025-04-21 16:05:48
*/
public interface TbUserService extends IService<TbUser> {

    R getUserById(Integer id);

    R adminlogin(AdminLoginVo adminLoginVo);

    R getUserlist(PageInfoVo pageInfoVo);

    R userReg(TbUser tbUser);


    R checkUser(TbUser tbUser);

    R getUserInfo();


    R updateUser(TbUser tbUser);

    R uploadFile(MultipartFile file);

    R deleteUserById(Integer userId);

    R deleteAll(List<TbUser> userList);

    R getMyRolelist();


    R getUserMenuTree();


    R getUserListsFormEs(UserPageVo userPageVo);

}
